chore(ci): add Dependabot config and workflow permissions#377
Merged
Conversation
…ions - Add .github/dependabot.yml covering pip (root), cargo (rust/), and github-actions ecosystems on a weekly schedule. Minor/patch updates group into one PR per ecosystem; major bumps stay individual. - Declare workflow-scoped `permissions: contents: read` on ci-gate, notebooks, and rust-test workflows so they don't silently inherit broader scopes if the repo default is ever changed. publish.yml and ai_pr_review.yml already declare per-job permissions and are unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Overall Assessment ✅ Looks good — no unmitigated P0/P1 findings. I found one P3 least-privilege hardening nit in Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
ci-gate.yml has no actions/checkout step and only reads label metadata
from github.event context, which doesn't require a token scope. Drop
to permissions: {} for true least-privilege; notebooks.yml and
rust-test.yml retain contents: read because they checkout.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall Assessment Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/dependabot.ymlcovering pip (root), cargo (rust/), and GitHub Actions ecosystems on a weekly schedule. Minor/patch bumps group into one PR per ecosystem; majors stay individual.permissions: contents: readonci-gate.yml,notebooks.yml, andrust-test.yml. These workflows previously inherited the repo default (currentlyread), which is safe today but would silently widen if the default ever flipped.publish.ymlandai_pr_review.ymlalready declare per-jobpermissions:and are unchanged.Methodology references (required if estimator / math changes)
Validation
yaml.safe_load.Security / privacy